VAD Custom Likelihood Params JSON Reference
Declared in | Voiceflow.schema.json |
Overview
Specifies the custom likelihood parameters for VAD which determines the VAD sensitivity.
Note: Unless stated otherwise, value of properties that are of type "string"
can be updated at runtime by an application if their value is entered as a field name wrapped by "$["
and "]"
. If a property is of a type other than "string"
, then an additional property of type "string"
with the same property name appended with the string "Runtime"
is added to have its value entered as a field name wrapped by "$["
and "]"
. This allows the application to set the value of the field name at runtime to be the value of the original non-runtime property. Valid values of runtime fields override the values of non-runtime properties.
Tasks
-
minSpeechToDetectMs
Specifies the minimum duration in milliseconds of speech energy for VAD to declare that speech is detected. Default: 200. The value can be set at runtime using the
"minSpeechToDetectMsRuntime"
property. Parameter is optional. -
minSpeechToDetectMsRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the"minSpeechToDetectMs"
property. Example:"$[MinSpeechToDetectMs]"
. Parameter is optional. -
minSilenceToDetectMs
Specifies the minimum duration in milliseconds of silence for VAD to declare that silence is detected. Default: 500. The value can be set at runtime using the
"minSilenceToDetectMsRuntime"
property. Parameter is optional. -
minSilenceToDetectMsRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the"minSilenceToDetectMs"
property. Example:"$[MinSilenceToDetectMs]"
. Parameter is optional. -
localThreshold
Specifies speech energy local threshold. Default: 82. The value can be set at runtime using the
"localThresholdRuntime"
property. Parameter is optional. -
localThresholdRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the"localThreshold"
property. Example:"$[LocalThreshold]"
. Parameter is optional. -
globalThreshold
Specifies speech energy global threshold. Default: 285. The value can be set at runtime using the
"globalThresholdRuntime"
property. Parameter is optional. -
globalThresholdRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the"globalThreshold"
property. Example:"$[GlobalThreshold]"
. Parameter is optional.
Properties
globalThreshold
"globalThreshold": integer
Discussion
Specifies speech energy global threshold. Default: 285. The value can be set at runtime using the "globalThresholdRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
globalThresholdRuntime
"globalThresholdRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "globalThreshold"
property. Example: "$[GlobalThreshold]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json
localThreshold
"localThreshold": integer
Discussion
Specifies speech energy local threshold. Default: 82. The value can be set at runtime using the "localThresholdRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
localThresholdRuntime
"localThresholdRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "localThreshold"
property. Example: "$[LocalThreshold]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json
minSilenceToDetectMs
"minSilenceToDetectMs": integer
Discussion
Specifies the minimum duration in milliseconds of silence for VAD to declare that silence is detected. Default: 500. The value can be set at runtime using the "minSilenceToDetectMsRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
minSilenceToDetectMsRuntime
"minSilenceToDetectMsRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSilenceToDetectMs"
property. Example: "$[MinSilenceToDetectMs]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json
minSpeechToDetectMs
"minSpeechToDetectMs": integer
Discussion
Specifies the minimum duration in milliseconds of speech energy for VAD to declare that speech is detected. Default: 200. The value can be set at runtime using the "minSpeechToDetectMsRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
minSpeechToDetectMsRuntime
"minSpeechToDetectMsRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose integer value can be set at runtime by an application. If the value of the field is a valid integer, then it will replace the value entered in the "minSpeechToDetectMs"
property. Example: "$[MinSpeechToDetectMs]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json